// import home from './components/home'
// import product from './components/product'
// import bed from './components/bed'
// import cabinet from './components/cabinet'
// import sofa from './components/sofa'
// import endtable from './components/endtable'
// import desk from './components/desk'
// import lamps from './components/lamps'
// import Registor from './components/registor'
// import Login from "./components/login"
// import Personal from './components/personal'
// import productList from './components/productList'

// import cooperate from './components/cooperate'
// import transport from './components/transport'
// import aboutus from './components/aboutus'
// import customization from './components/customization'
// import cart from './components/cart'
// import details from './components/details'

// import carousel1 from './components/carousel/index1.vue'
// import carousel2 from './components/carousel/index2.vue'
// import carousel3 from './components/carousel/index3.vue'
// import carousel4 from './components/carousel/index4.vue'

export const routes=[
    {
        path: '/', component:resolve => require(['./components/home'], resolve) , children: []
    },{
        path: '/product', component: resolve => require(['./components/product'], resolve), children: []
    },{
        path: '/bed', component: resolve => require(['./components/bed'], resolve), children: []
    },{
        path: '/cabinet', component: resolve => require(['./components/cabinet'], resolve), children: []
    },{
        path: '/sofa', component: resolve => require(['./components/sofa'], resolve), children: []
    },{
        path: '/endtable', component: resolve => require(['./components/endtable'], resolve), children: []
    },{
        path: '/desk', component: resolve => require(['./components/desk'], resolve), children: []
    },{
        path: '/lamps', component: resolve => require(['./components/lamps'], resolve), children: []
    },{
        path: '/registor', component: resolve => require(['./components/registor'], resolve), children: []
    },
    {
        path: '/login', component: resolve => require(['./components/login'], resolve), children: []
    },
    {
        path: '/personal', component: resolve => require(['./components/personal'], resolve), children: []
    },{
        path: '/cooperate', component: resolve => require(['./components/cooperate'], resolve), children: []/* jyd */
    },{
        path: '/transport', component: resolve => require(['./components/transport'], resolve), children: []
    },{
        path: '/aboutus', component: resolve => require(['./components/aboutus'], resolve), children: []
    },{
        path: '/customization', component: resolve => require(['./components/customization'], resolve), children: []
    },{
        path: '/cart', component: resolve => require(['./components/cart'], resolve), children: []
    },
    {
        path: '/carousel1', component: resolve => require(['./components/carousel/index1.vue'], resolve), children: []
    },{
        path:'/carousel2',component: resolve => require(['./components/carousel/index2.vue'], resolve),children:[]
    },{
        path:'/carousel3',component: resolve => require(['./components/carousel/index3.vue'], resolve),children:[]
    }
    ,{
        path:'/carousel4',component: resolve => require(['./components/carousel/index4.vue'], resolve),children:[]
    },{
        path: '/list', name:'list',component: resolve => require(['./components/productList'], resolve), children: []
    },
    {
        path: '/details', component: resolve => require(['./components/details'], resolve), children: []
    },{
        path: '/afterserver', component: resolve => require(['./components/afterserver'], resolve), children: []
    },{
        path: "*",redirect: "/"
    }
]